<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html>
<head>
    <title>编辑会员</title>
    <style>
        label {
            display: block;
            margin-bottom: 10px;
        }

        input[type="text"], input[type="password"] {
            width: 200px;
            padding: 5px;
            font-size: 14px;
        }

        button {
            padding: 5px 10px;
            background-color: #0074cc;
            color: white;
            border: none;
            cursor: pointer;
        }

        button:hover {
            background-color: #0056a7;
        }

        tr, td {
            /*border: 1px solid black;*/
            padding: 10px;
        }
    </style>
</head>
<body style="position: absolute;left: 50%;top: 50%;transform: translate(-50%,-50%)">
<h1 style="text-align: center">会员信息编辑</h1>
<form action="editUser" method="POST">
    <table style="margin: 10px;border-collapse: collapse; border: none">
        <tr>
            <td>:</td>
            <td></td>
        </tr>
        <tr>
            <td>姓名:</td>
            <td>
                <input type="text" id="userName" name="userName" placeholder="姓名" required>
            </td>
        </tr>
        <tr>
            <td>
                手机号:
            </td>
            <td>
                <input type="text" id="phoneNumber" name="phoneNumber" placeholder="手机号" required>
            </td>
            
        </tr>
        <tr>
            <td>
                密码:
            </td>
            <td>
                <input type="password" id="password" name="password" placeholder="密码" required>
            </td>
        </tr>
        <tr>
            <td  colspan="2" style="border:none;text-align: center">
                <div style="display: flex;justify-content: center;gap: 50px">
                    <button type="submit">保存</button>
                    <button type="reset" style="background: red">清空</button>
                </div>
            </td>
        </tr>
    </table>
</form>
</body>

</html>